package com.aaa.dynamic;

/**
 * @Description:
 * @author:LiWei
 * @date:2022年11月09日15:36
 */
public class Test {
    public static void main(String[] args) {
        ProxyFactory proxyFactory = new ProxyFactory(new FangDong());
        //获取代理对象
        FangDong instance = (FangDong) proxyFactory.getInstance();

        instance.chuzu();
    }
}
